package com.qiku.dao;

import com.qiku.domin.PromotionAd;

import java.util.List;

public interface PromotionAdMapper {


    /**
     * 新建广告
     * @param promotionAd
     */
    public void savePromotionAd(PromotionAd promotionAd);


    /**
     * 修改广告
     * @param promotionAd
     */
    public void updatePromotionAd(PromotionAd promotionAd);


    /**
     * 广告分页查询
     * @param
     * @return
     */
    public List<PromotionAd> findAllPromotionAdByPage();


    /**
     * 修改回显广告信息
     * @param id
     * @return
     */
    public PromotionAd findPromotionAdById(Integer id);


    /**
     * 修改广告状态
     * @param
     */
    public void updatePromotionAdStatus(PromotionAd promotionAd);



}
